package cn.tyf.domain;

import com.alibaba.excel.annotation.ExcelProperty;

import java.util.Date;

public class Notice {
    @ExcelProperty("编号")
    private Integer nid;
    @ExcelProperty("发布人id")
    private Integer uid;        // 发布人id
    @ExcelProperty("发布人名称")
    private String name;        // 发布人名称
    @ExcelProperty("主题")
    private String theme;       // 主题
    @ExcelProperty("内容")
    private String content;     // 内容
    @ExcelProperty("发布时间")
    private String time;        // 发布时间

    public Integer getNid() {
        return nid;
    }

    public void setNid(Integer nid) {
        this.nid = nid;
    }

    public String getName() {
        return name;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTheme() {
        return theme;
    }

    public void setTheme(String theme) {
        this.theme = theme;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "Notice{" +
                "nid=" + nid +
                ", uid=" + uid +
                ", name='" + name + '\'' +
                ", theme='" + theme + '\'' +
                ", time='" + time + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
